package com.sdry.mapper;


import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.sdry.entity.Check;
import com.sdry.entity.CheckExample;

public interface CheckMapper {
    int countByExample(CheckExample example);

    int deleteByExample(CheckExample example);

    int deleteByPrimaryKey(Long cid);

    int insert(Check record);

    int insertSelective(Check record);

    List<Check> selectByExample(CheckExample example);

    Check selectByPrimaryKey(Long cid);

    int updateByExampleSelective(@Param("record") Check record, @Param("example") CheckExample example);

    int updateByExample(@Param("record") Check record, @Param("example") CheckExample example);

    int updateByPrimaryKeySelective(Check record);

    int updateByPrimaryKey(Check record);
    
    /**
     * 批量删除
     * @param ids
     * @return 影响行数
     */
    public int deleteByPrimaryKeys(String ids);
}